﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public enum Type
    {
        Task,
        Shop,
        Smithy
    }

   abstract class NPC
    {
        private string name;
        private Type type;

    public NPC(string name,Type type)
    {
            this.name = name;
            this.type = type;
    }
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        public Type Type
        {
            get { return this.type; }
            set { this.type = value; }
        }
        public abstract void Say();
  }
}
